package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 盘盈单/盘亏单明细信息对象 erp_king_profit_loss_detail_info
 * @author wutao
 * @date 2024-07-23
 */
@TableName ("erp_king_profit_loss_detail_info")
@ApiModel (value = "erp_king_profit_loss_detail_info对象", description = "盘盈单/盘亏单明细信息")
@Data
public class KingProfitLossDetailEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 盘盈单Id
     */
    @ApiModelProperty ("盘盈单Id")
    @TableField ("relation_id")
    @Excel (name = "盘盈单Id")
    private String relationId;

    /**
     * 物料编码
     */
    @ApiModelProperty ("物料编码")
    @TableField ("material_code")
    @Excel (name = "物料编码")
    private String materialCode;

    /**
     * 单位
     */
    @ApiModelProperty ("单位")
    @TableField ("unit")
    @Excel (name = "单位")
    private String unit;

    /**
     * 账存数量
     */
    @ApiModelProperty ("账存数量")
    @TableField ("inventory_num")
    @Excel (name = "账存数量")
    private String inventoryNum;

    /**
     * 盘点数量
     */
    @ApiModelProperty ("盘点数量")
    @TableField ("check_num")
    @Excel (name = "盘点数量")
    private String checkNum;

    /**
     * 盘盈数量
     */
    @ApiModelProperty ("盈亏数量")
    @TableField ("profit_loss_num")
    @Excel (name = "盈亏数量")
    private String profitLossNum;

    /**
     * 仓库
     */
    @ApiModelProperty ("仓库编码")
    @TableField ("warehouse_code")
    @Excel (name = "仓库")
    private String warehouseCode;

    @ApiModelProperty ("仓位编码")
    @TableField ("warehouse_region_code")
    @Excel (name = "仓位编码")
    private String warehouseRegionCode;

    /**
     * 货主,根据主表货主类型字段
     */
    @ApiModelProperty ("货主,根据主表货主类型字段")
    @TableField ("shipper_id")
    @Excel (name = "货主,根据主表货主类型字段")
    private String shipperId;

    /**
     * 备注
     */
    @ApiModelProperty ("备注")
    @TableField ("remarks")
    @Excel (name = "备注")
    private String remarks;

    @ApiModelProperty ("创建人")
    @TableField ("create_user_id")
    private String createUserId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_date")
    private Date createDate;

    @ApiModelProperty ("修改人")
    @TableField ("update_user_id")
    private String updateUserId;

    @ApiModelProperty ("修改时间")
    @TableField ("update_date")
    private Date updateDate;

    @ApiModelProperty ("行号")
    @TableField ("line_number")
    private String lineNumber;

    @ApiModelProperty ( "批号" )
    @TableField ( "batch_num" )
    @Excel ( name = "批号" )
    private String batchNum;

    /**
     * 是否可以
     */
    @ApiModelProperty ("是否可以")
    @TableField ("is_used")
    @Excel (name = "是否可以")
    private Integer isUsed;


}
